﻿<%@ Page Language="C#" MasterPageFile="~/masters/masterPage.Master" AutoEventWireup="true" CodeBehind="employeeMaster.aspx.cs" Inherits="balancescorecard.masters.employeeMaster" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="body" runat="server">


<table>
    <tr>
        <td>
        Employee Id
        </td>
        <td>
        <asp:TextBox ID = "empId" runat="server" />
        </td>
        <td>
        Employee Name
        </td>
        <td>
        <asp:TextBox ID = "empName" runat="server" />
        </td>
    </tr>
    <tr>
        <td>
        Account Number
        </td>
        <td>
        <asp:TextBox ID = "empAccNo" runat="server" />
        </td>
        <td>
        Employment Date
        </td>
        <td>
            <asp:Calendar ID="empEmploymentDate" runat="server"></asp:Calendar>
        </td>
    </tr>
    <tr>
        <td>
        Job Title
        </td>
        <td>
        
            <asp:DropDownList ID="DropDownList1" runat="server" 
                DataSourceID="JobTitleDataSource" DataTextField="job_title" 
                DataValueField="job_pk">
            </asp:DropDownList>
            <asp:SqlDataSource ID="JobTitleDataSource" runat="server" 
                ConnectionString="<%$ ConnectionStrings:balancescorecardConnectionString %>" 
                SelectCommand="SELECT job_pk, job_title, job_active FROM job WHERE (job_active = 1)">
            </asp:SqlDataSource>
        
        </td>
        <td>
        Grade
        </td>
        <td>
        
            <asp:DropDownList ID="DropDownList2" runat="server" 
                DataSourceID="GradeDataSource" DataTextField="grade_name" 
                DataValueField="grade_pk">
            </asp:DropDownList>
            <asp:SqlDataSource ID="GradeDataSource" runat="server" 
                ConnectionString="<%$ ConnectionStrings:balancescorecardConnectionString %>" 
                SelectCommand="SELECT grade_pk, grade_name, grade_active FROM grade WHERE (grade_active = 1)">
            </asp:SqlDataSource>
        
        </td>
    </tr>
    
    <tr>
        <td>
        Group Name
        </td>
        <td>
        
            <asp:DropDownList ID="DropDownList3" runat="server" 
                DataSourceID="GroupDataSource" DataTextField="group_name" 
                DataValueField="group_pk">
            </asp:DropDownList>
            <asp:SqlDataSource ID="GroupDataSource" runat="server" 
                ConnectionString="<%$ ConnectionStrings:balancescorecardConnectionString %>" 
                SelectCommand="SELECT group_name, group_pk, group_active FROM [group] WHERE (group_active = 1)">
            </asp:SqlDataSource>
        
        </td>
        <td>
        Department Name
        </td>
        <td>
        
            <asp:DropDownList ID="DropDownList4" runat="server" 
                DataSourceID="DeptDataSource" DataTextField="dept_name" 
                DataValueField="dept_pk">
            </asp:DropDownList>
            <asp:SqlDataSource ID="DeptDataSource" runat="server" 
                ConnectionString="<%$ ConnectionStrings:balancescorecardConnectionString %>" 
                SelectCommand="SELECT dept_name, dept_pk, dept_active FROM department WHERE (dept_active = 1)">
            </asp:SqlDataSource>
        
        </td>
    </tr>
    
    <tr>
        <td>
        Enter Password
        </td>
        <td>
        <asp:TextBox ID = "empPwd" runat="server" />
        </td>
        <td>
        Confirm Password
        </td>
        <td>
        <asp:TextBox ID = "empPwdCnf" runat="server" />
        </td>
    </tr>
    
    
    <tr>
        <td colspan="2">
        
        
        </td>
    </tr>
    
</table>

</asp:Content>
